<%--
  Created by IntelliJ IDEA.
  User: asus
  Date: 2018-06-08
  Time: 9:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>

    <link rel="stylesheet" href="${pageContext.request.contextPath}/statics/bootstrap/css/bootstrap.css"/>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/statics/table/bootstrap-table.min.css"/>
    <script type="text/javascript" src="${pageContext.request.contextPath}/statics/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/statics/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/statics/table/bootstrap-table.min.js"></script>
    <script type="text/javascript"
            src="${pageContext.request.contextPath}/statics/table/locale/bootstrap-table-zh-CN.min.js"></script>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/statics/date/bootstrap-datetimepicker.min.css"/>




    <script type="text/javascript" src="${pageContext.request.contextPath}/statics/date/Moment.js"></script>

    <script type="text/javascript"
            src="${pageContext.request.contextPath}/statics/date/bootstrap-datetimepicker.min.js"></script>

    <link rel="stylesheet" type="text/css"
          href="${pageContext.request.contextPath}/statics/easyui/easyui.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/statics/easyui/icon.css">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/statics/easyui/demo.css">

    <script type="text/javascript" src="${pageContext.request.contextPath}/statics/easyui/jquery.easyui.min.js"></script>



    <script type="text/javascript" src="${pageContext.request.contextPath}/statics/js/yuangongshezhi.js"></script>








</head>
<body>
<%--标题--%>
<nav class="navbar navbar-inverse" role="navigation">
    <div class="container-fluid">
        <div>
            <ul id="myTab" class="nav navbar-nav" >
                <li class="active"><a href="#home" data-toggle="tab">员工设置</a></li>
            </ul>
        </div>
    </div>
</nav>
<br>


<%--标题内容--%>
<div id="myTabContent" class="tab-content">
    <%--供货商所有单据的内容--%>
    <div class="tab-pane fade in active" id="home">


        <!--功能面板-->
        <div class="panel panel-default">

            <div class="panel-body">
                <form class="form-inline">
                    &nbsp;&nbsp;&nbsp;<button type="button" class="btn btn-default navbar-btn"  data-target="#myModal" data-toggle="modal">增加</button>

                    <%--按供货商查询--%>
                    员工名称:
                    <input id="n" class="form-control"  style="width:200px">

                    <button onclick="Qlsit()" type="button" class="btn btn-default">查询</button>

                </form>

                <%--查询--%>
                <table id="syso"></table>

            </div>
        </div>
    </div>
</div>

<!-- 模态框 -->
<!-- Modal -->
<div class="modal fade" id="myModal">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal"
                        aria-label="Close">
                    <span aria-hidden="true">&times;</span>
                </button>
                <h4 class="modal-title" id="myModalLabel">增加员工</h4>
            </div>
            <div class="modal-body">
                <!-- form开始 -->
                <form>
                    <div class="form-group">
                        <label for="name">员工名称:</label> <input type="text"
                                                                class="form-control" id="name" placeholder="请输入员工名称">
                    </div>

                    <div class="form-group">
                        <label for="zhiwu">职务:</label> <input type="text"
                                                                   class="form-control" id="zhiwu" placeholder="请输入员工职务">
                    </div>

                    <div class="form-group">
                        <label for="dianhua">联系电话:</label> <input type="text"
                                                                  class="form-control" id="dianhua" placeholder="请输入联系电话">
                    </div>

                    <div class="form-group">
                        <label for="dizhi">联系地址:</label> <input type="text"
                                                                class="form-control" id="dizhi" placeholder="请输入联系地址">
                    </div>
                    <div class="form-group">
                        <label for="quanxian">权限:</label> <input type="text"
                                                               class="form-control" id="quanxian" placeholder="请输入权限">
                    </div>

                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                <button onclick="add2()" type="button" class="btn btn-primary" data-dismiss="modal">确认</button>
            </div>
        </div>
    </div>
</div>

<%--双击打开--%>
<div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div style="width: 500px;" class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel2">修改员工信息信息</h4>
            </div>
            <div class="modal-body">
                <!-- form开始 -->
                <form>
                    <div class="form-group">
                        <label for="name">员工编号:</label> <input type="text"
                                                                class="form-control" id="Sid" placeholder="请输入员工编号">
                    </div>
                    <div class="form-group">
                        <label for="name">员工名称:</label> <input type="text"
                                                                class="form-control" id="Sname" placeholder="请输入员工名称">
                    </div>

                    <div class="form-group">
                        <label for="Szhiwu">职务:</label> <input type="text"
                                                                   class="form-control" id="Szhiwu" placeholder="请输入联系人">
                    </div>

                    <div class="form-group">
                        <label for="dianhua">联系电话:</label> <input type="text"
                                                                  class="form-control" id="Sdianhua" placeholder="请输入联系电话">
                    </div>

                    <div class="form-group">
                        <label for="dizhi">联系地址:</label> <input type="text"
                                                                class="form-control" id="Sdizhi" placeholder="请输入联系地址">
                    </div>
                    <div class="form-group">
                        <label for="Squanxian">权限:</label> <input type="text"
                                                               class="form-control" id="Squanxian" placeholder="请输入权限">
                    </div>

                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" id="ddd" onclick="upd()" class="btn btn-primary" data-dismiss="modal">确认</button>
            </div>
        </div>



    </div>
</div>

</body>
</html>
